package com.process.dao.team;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.process.domain.team.ProcessTaskAo;
import com.process.domain.team.ProcessTaskVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description:
 * @ClassName: ProcessTaskVoDao
 * @Author: 殷凡卓
 * @Date: 2023/5/2 23:24
 */

@Mapper
public interface ProcessTaskVoDao extends BaseMapper<ProcessTaskVo> {
    //   老师查看Inner_ProcessTask
    List<ProcessTaskVo> selectMyInnerProcessTaskByTeacherPhone(String teachPhone);

    //   老师查看Course_ProcessTask
    List<ProcessTaskVo> selectMyCourseProcessTaskByTeacherPhone(String teachPhone);

    //   老师查看Outer_ProcessTask
    List<ProcessTaskVo> selectMyOuterProcessTaskByTeacherPhone(String teachPhone);

    //   学生查看ProcessTask
    List<ProcessTaskVo> selectProcessTaskByStudentPhone(String stuPhone);

    //   学生查看需要互评的任务
    List<ProcessTaskVo> selectProcessFinallTaskByStudentPhone(String stuPhone);

    //   老师查看班级过程任务提交情况
    List<ProcessTaskAo> selectProcessByProcessId(long processId);

}
